
//Crosstabs (Tables 4 and 5):
tab q13 emigration, chi2
tab agroworker emigration, chi2

//Logit model:

** Set up stata for Arab Barometer Data
svyset qid [pweight = wt], strata( country)

** Logit Model (Table 6):
svy:logit emigration q13 sector agroworker econsituation inequality government i.country
outreg2 using myreg.doc, replace ctitle(Model 1)

** F-test for Survey:
svylogitgof
